package com.nsgf.library.data.bean;

import com.nsgf.library.utils.StringUtil;

import java.util.List;

/**
 * 值班排班数据
 */
public class DutyScheduleBean {

    private String rowCode;
    private String projectCode;
    private String projectName;
    private String userName;
    private String leaderName;
    private String startDate;
    private List<BuSchedulingBean> buSchedulingList;
    private int isDutyDay; // 0-非值班日, 1-值班日
    private int isLeader;

    private String dutyStaff;
    private String dutyLeader;

    private String dutyStaffReal;
    private String dutyLeaderReal;
    private String successorReal;
    private String successorLeaderReal;
    private String successor;
    private String successorLeader;

    public String getRowCode() {
        return rowCode;
    }

    public void setRowCode(String rowCode) {
        this.rowCode = rowCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public List<BuSchedulingBean> getBuSchedulingList() {
        return buSchedulingList;
    }

    public void setBuSchedulingList(List<BuSchedulingBean> buSchedulingList) {
        this.buSchedulingList = buSchedulingList;
    }

    public int getIsDutyDay() {
        return isDutyDay;
    }

    public void setIsDutyDay(int isDutyDay) {
        this.isDutyDay = isDutyDay;
    }

    public int getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(int isLeader) {
        this.isLeader = isLeader;
    }

    public String getDutyStaff() {
        return StringUtil.isEmpty(dutyStaff) ? "" : dutyStaff;
    }

    public void setDutyStaff(String dutyStaff) {
        this.dutyStaff = dutyStaff;
    }

    public String getDutyLeader() {
        return StringUtil.isEmpty(dutyLeader) ? "" : dutyLeader;
    }

    public void setDutyLeader(String dutyLeader) {
        this.dutyLeader = dutyLeader;
    }

    public String getSuccessor() {
        return StringUtil.isEmpty(successor) ? "" : successor;
    }

    public void setSuccessor(String successor) {
        this.successor = successor;
    }

    public String getSuccessorLeader() {
        return StringUtil.isEmpty(successorLeader) ? "" : successorLeader;
    }

    public void setSuccessorLeader(String successorLeader) {
        this.successorLeader = successorLeader;
    }

    public String getDutyStaffReal() {
        return dutyStaffReal;
    }

    public void setDutyStaffReal(String dutyStaffReal) {
        this.dutyStaffReal = dutyStaffReal;
    }

    public String getDutyLeaderReal() {
        return dutyLeaderReal;
    }

    public void setDutyLeaderReal(String dutyLeaderReal) {
        this.dutyLeaderReal = dutyLeaderReal;
    }

    public String getSuccessorReal() {
        return successorReal;
    }

    public void setSuccessorReal(String successorReal) {
        this.successorReal = successorReal;
    }

    public String getSuccessorLeaderReal() {
        return successorLeaderReal;
    }

    public void setSuccessorLeaderReal(String successorLeaderReal) {
        this.successorLeaderReal = successorLeaderReal;
    }

    public static class BuSchedulingBean {
        private String id;
        private String projectCode;
        private String rowCode;
        private int userId;
        private String userName;
        private int isLeader;
        private String startDate;

        public String getDutyStaffReal() {
            return dutyStaffReal;
        }

        public void setDutyStaffReal(String dutyStaffReal) {
            this.dutyStaffReal = dutyStaffReal;
        }

        public String getDutyLeaderReal() {
            return dutyLeaderReal;
        }

        public void setDutyLeaderReal(String dutyLeaderReal) {
            this.dutyLeaderReal = dutyLeaderReal;
        }

        public String getSuccessorReal() {
            return successorReal;
        }

        public void setSuccessorReal(String successorReal) {
            this.successorReal = successorReal;
        }

        public String getSuccessorLeaderReal() {
            return successorLeaderReal;
        }

        public void setSuccessorLeaderReal(String successorLeaderReal) {
            this.successorLeaderReal = successorLeaderReal;
        }

        private String dutyStaffReal;
        private String dutyLeaderReal;
        private String successorReal;
        private String successorLeaderReal;
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProjectCode() {
            return projectCode;
        }

        public void setProjectCode(String projectCode) {
            this.projectCode = projectCode;
        }

        public String getRowCode() {
            return rowCode;
        }

        public void setRowCode(String rowCode) {
            this.rowCode = rowCode;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getIsLeader() {
            return isLeader;
        }

        public void setIsLeader(int isLeader) {
            this.isLeader = isLeader;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }
    }
}

















